package yueyong.salarymanagement.module.business.salary.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * Copyright: yueyong (c) 2022
 *
 * @author he.shaorong
 * @version 1.0
 * @date 2022/2/5
 */
@Data
public class SalarySendDTO {

    @ApiModelProperty("薪资发放ID")
    private long salaryId;

    @ApiModelProperty("公司名")
    @Length(max = 255, message = "公司名称(1-255)个字符")
    private String companyName;

    @ApiModelProperty("是否发微信")
    private boolean sendWeChat;

    @ApiModelProperty("是否发短信")
    private boolean shortMessage;

    @ApiModelProperty("是否发企业微信")
    private boolean sendEntWeChat;

    @ApiModelProperty("是否发邮箱")
    private boolean emailMessage;

    @ApiModelProperty("发薪时间：时间戳（毫秒）")
    private long payDate;

}
